package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.TrainCategory;
import com.sihai.ehr.model.biz.TrainLecturer;

/**
 * 培训内部讲师服务接口
 * 
 * @author henry
 * 
 */
public interface TrainLecturerService {
	/** 获取培训讲师 */
	TrainLecturer getTrainLecturer(Long id);

	/**
	 * 根据组织结构编号获取培训讲师列表
	 * 
	 * @param organizationId
	 * @return
	 */
	LimitedList<TrainLecturer> getTrainLecturers(Long organizationId, Long dutyId, Limit limit, Sorter sorter);

	/**
	 * 获取有效的培训讲师
	 * 
	 * @param organizationId
	 * @param dutyId
	 * @param limit
	 * @param sorter
	 * @return
	 */
	LimitedList<TrainLecturer> getEffectiveTrainLecturers(Long organizationId, Long dutyId, Limit limit, Sorter sorter);

	/** 保存培训讲师 */
	void save(TrainLecturer lecturer);

	/**
	 * 删除培训讲师
	 * 
	 * @param ids
	 */
	void deleteTrainLecturer(String ids);
}
